package work.sajor.wechatpush.util;

import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

import java.text.SimpleDateFormat;
import java.util.Date;

/*
 *
 * @author: ren
 * @date:2022/8/26 10:00
 */
@Component
public class Config {

    private static String jinri;

    private static SimpleDateFormat simpleDateFormat = new SimpleDateFormat();

    public static String getJinri() {
        return simpleDateFormat.format(new Date());
    }

    public static void setJinri(Date date) {
        simpleDateFormat.format(date);
    }


}
